using System;
using System.Runtime.Serialization;

using SIMA.Core.Attributes;
using SIMA.Core.Data.Validators;
using SIMA.Core.Data.Entity;

namespace SIMA.Entities
{
	[Table("T_C_TurnoMantenimiento")]
	[Serializable]
	public class T_C_TurnoMantenimiento:XmlEntity
	{
		[DataMember]
		[PrimaryKey("Id_TurnoMantenimiento")]
		[Numeric]
		public int Id_TurnoMantenimiento{get; set;}
		[DataMember]
		[DataField("Descripcion")]
		public string Descripcion{get; set;}
		[DataMember]
		[DataField("HoraInicio")]
		public float HoraInicio{get; set;}
		[DataMember]
		[DataField("HoraFin")]
		public float HoraFin{get; set;}
		[DataMember]
		[ForeignKey("Id_Estado")]
		[Numeric]
		public int Id_Estado{get; set;}
	}
}
